/********************************************************************************/
/*   The  Software  is  proprietary,  confidential,  and  valuable to Realtek   */
/*   Semiconductor  Corporation  ("Realtek").  All  rights, including but not   */
/*   limited  to  copyrights,  patents,  trademarks, trade secrets, mask work   */
/*   rights, and other similar rights and interests, are reserved to Realtek.   */
/*   Without  prior  written  consent  from  Realtek,  copying, reproduction,   */
/*   modification,  distribution,  or  otherwise  is strictly prohibited. The   */
/*   Software  shall  be  kept  strictly  in  confidence,  and  shall  not be   */
/*   disclosed to or otherwise accessed by any third party.                     */
/*   c<2003> - <2012>                                                           */
/*   The Software is provided "AS IS" without any warranty of any kind,         */
/*   express, implied, statutory or otherwise.                                  */
/********************************************************************************/

//----------------------------------------------------------------------------------------------------
// ID Code      : RTD2014UserLedDriver.h No.0000
// Update Note  :
//----------------------------------------------------------------------------------------------------

#if((_DEVICE_LED_DRIVER_TYPE != _DEVICE_LED_DRIVER_NONE) && (_LOCAL_DIMMING_SUPPORT == _ON))

//****************************************************************************
// LAYER DEFINITIONS / MACROS
//****************************************************************************


//****************************************************************************
// VARIABLE EXTERN
//****************************************************************************


//****************************************************************************
// STRUCT / TYPE / ENUM DEFINITTIONS
//****************************************************************************
typedef enum
{
    _DEVICE_LED_DRIVER_PWM_1,
    _DEVICE_LED_DRIVER_PWM_2,
    _DEVICE_LED_DRIVER_PWM_3,
    _DEVICE_LED_DRIVER_PWM_4,
    _DEVICE_LED_DRIVER_PWM_5,
    _DEVICE_LED_DRIVER_PWM_6,
    _DEVICE_LED_DRIVER_PWM_7,
    _DEVICE_LED_DRIVER_PWM_8,
    _DEVICE_LED_DRIVER_PWM_9,
    _DEVICE_LED_DRIVER_PWM_10,
    _DEVICE_LED_DRIVER_PWM_11,
    _DEVICE_LED_DRIVER_PWM_12,
    _DEVICE_LED_DRIVER_PWM_13,
    _DEVICE_LED_DRIVER_PWM_14,
    _DEVICE_LED_DRIVER_PWM_15,
    _DEVICE_LED_DRIVER_PWM_16,
    _DEVICE_LED_DRIVER_PWM_ALL,
    _DEVICE_LED_DRIVER_PWM_NONE = 0xFF,

} EnumDeviceLedDriverPwm;


//****************************************************************************
// FUNCTION EXTERN
//****************************************************************************
#if(_DEBUG_IIC_BY_USERINTERFACE == _ON)
extern bit DeviceLedDriverDebug(BYTE ucType, BYTE *ucDdcciArray, BYTE *ucReturnValue);
#endif
extern void DeviceLedDriverInitial(void);
extern void DeviceLedDriverPwmEnable(bit bEnable);
extern void DeviceLedDriverPwm(EnumDeviceLedDriverPwm enumDeviceLedDriverPwm, WORD usValue);
extern void DeviceLedDriverPwmArray(WORD *usValue);
extern void DeviceLedDriverBacklight(WORD usBacklight);

#if(_DEBUG_IIC_BY_USERINTERFACE == _ON)
extern bit DeviceInterfaceLedDriverDebug(BYTE ucType, BYTE *ucDdcciArray, BYTE *ucReturnValue);
#endif
extern void DeviceInterfaceLedDriverInitial(void);
extern void DeviceInterfaceLedDriverPwmEnable(bit bEnable);
extern void DeviceInterfaceLedDriverBacklight(WORD usBacklight);
extern void DeviceInterfaceLedDriverPwm(EnumDeviceLedDriverPwm enumDeviceLedDriverPwm, WORD usValue);
extern void DeviceInterfaceLedDriverPwmArray(WORD *pusValue);

#endif // End of #if((_DEVICE_LED_DRIVER_TYPE != _DEVICE_LED_DRIVER_NONE) && (_LOCAL_DIMMING_SUPPORT == _ON))
